Rename more GSources to use `gtk`
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 6 Feb 2019 09:37:24 +0000 (10:37 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 6 Feb 2019 09:37:24 +0000 (10:37 +0100)
gdk/broadway/gdksurface-broadway.c
gdk/gdkframeclockidle.c
gdk/quartz/gdkscreen-quartz.c
gdk/wayland/gdkdevice-wayland.c
gdk/win32/gdkdrag-win32.c
gdk/x11/gdkapplaunchcontext-x11.c
gdk/x11/gdkasync.c
gdk/x11/gdkdrag-x11.c

index a75242041078eb6ef78a538cde93335f31e1e4b2..56e9684112ccd25490619b129e20a92402ac6abf 100644 (file)
@@ -116,7 +116,7 @@ queue_flush (GdkSurface *surface)
   if (flush_id == 0)
     {
       flush_id = g_idle_add (flush_idle, NULL);
-      g_source_set_name_by_id (flush_id, "[gtk+] flush_idle");
+      g_source_set_name_by_id (flush_id, "[gtk] flush_idle");
     }
 }
 
index 911680fffdbbdde7ed72c405c8d7eefb73397808..0da209cf8857e3d72464495ce6ff2045def404cd 100644 (file)
@@ -243,7 +243,7 @@ maybe_start_idle (GdkFrameClockIdle *clock_idle)
                                                     gdk_frame_clock_flush_idle,
                                                     g_object_ref (clock_idle),
                                                     (GDestroyNotify) g_object_unref);
-          g_source_set_name_by_id (priv->flush_idle_id, "[gtk+] gdk_frame_clock_flush_idle");
+          g_source_set_name_by_id (priv->flush_idle_id, "[gtk] gdk_frame_clock_flush_idle");
         }
 
       if (!priv->in_paint_idle &&
@@ -254,7 +254,7 @@ maybe_start_idle (GdkFrameClockIdle *clock_idle)
                                                     gdk_frame_clock_paint_idle,
                                                     g_object_ref (clock_idle),
                                                     (GDestroyNotify) g_object_unref);
-          g_source_set_name_by_id (priv->paint_idle_id, "[gtk+] gdk_frame_clock_paint_idle");
+          g_source_set_name_by_id (priv->paint_idle_id, "[gtk] gdk_frame_clock_paint_idle");
         }
     }
 }
index 303c603fcc0fdd3505584b9176abb6abd203d727..c1ab58518cd80f95216a7aecc9dceae8a4958d26 100644 (file)
@@ -263,7 +263,7 @@ display_reconfiguration_callback (CGDirectDisplayID            display,
       if (!screen->screen_changed_id)
         {
           screen->screen_changed_id = g_idle_add (screen_changed_idle, screen);
-          g_source_set_name_by_id (screen->screen_changed_id, "[gtk+] screen_changed_idle");
+          g_source_set_name_by_id (screen->screen_changed_id, "[gtk] screen_changed_idle");
         }
     }
 }
index f991f55ff37ea3e3c5a69e7c33ec1cec58b4b0dd..f1dab93f1bf05940b00955b8c64e3b8db13cc743 100644 (file)
@@ -466,7 +466,7 @@ gdk_wayland_device_update_surface_cursor (GdkDevice *device)
           id = g_timeout_add (next_image_delay,
                               (GSourceFunc) gdk_wayland_device_update_surface_cursor,
                               device);
-          g_source_set_name_by_id (id, "[gtk+] gdk_wayland_device_update_surface_cursor");
+          g_source_set_name_by_id (id, "[gtk] gdk_wayland_device_update_surface_cursor");
           pointer->cursor_timeout_id = id;
         }
       else
@@ -2173,7 +2173,7 @@ deliver_key_event (GdkWaylandSeat *seat,
   timeout = (seat->repeat_deadline - now) / 1000L;
 
   seat->repeat_timer = g_timeout_add (timeout, keyboard_repeat, seat);
-  g_source_set_name_by_id (seat->repeat_timer, "[gtk+] keyboard_repeat");
+  g_source_set_name_by_id (seat->repeat_timer, "[gtk] keyboard_repeat");
 }
 
 static void
index 5af63041240bb50887c09f50be5e3a7872b7588d..d0593a0863c938be245781568661adafe0732f6f 100644 (file)
@@ -2190,7 +2190,7 @@ gdk_win32_drag_drop_done (GdkDrag  *drag,
   id = g_timeout_add_full (G_PRIORITY_DEFAULT, 17,
                            gdk_drag_anim_timeout, anim,
                            (GDestroyNotify) gdk_drag_anim_destroy);
-  g_source_set_name_by_id (id, "[gtk+] gdk_drag_anim_timeout");
+  g_source_set_name_by_id (id, "[gtk] gdk_drag_anim_timeout");
 }
 
 static gboolean
index bc66023fd6ac93b45644305ce727a4832002bdc1..58e8f380ef9bbd41fbcdb0921f8c0e8afbfe27d7 100644 (file)
@@ -216,7 +216,7 @@ startup_timeout (void *data)
     std->timeout_id = 0;
   else {
     std->timeout_id = g_timeout_add_seconds ((min_timeout + 500)/1000, startup_timeout, std);
-    g_source_set_name_by_id (std->timeout_id, "[gtk+] startup_timeout");
+    g_source_set_name_by_id (std->timeout_id, "[gtk] startup_timeout");
   }
 
   /* always remove this one, but we may have reinstalled another one. */
@@ -253,7 +253,7 @@ add_startup_timeout (GdkX11Screen *screen,
   if (data->timeout_id == 0) {
     data->timeout_id = g_timeout_add_seconds (STARTUP_TIMEOUT_LENGTH_SECONDS,
                                               startup_timeout, data);
-    g_source_set_name_by_id (data->timeout_id, "[gtk+] startup_timeout");
+    g_source_set_name_by_id (data->timeout_id, "[gtk] startup_timeout");
   }
 }
 
index bf5f242b73de63a0efb001b3e39a0eefcb2cd085..fc4d94eaf5d58e2d824d3d6edda989466e65fc60 100644 (file)
@@ -175,7 +175,7 @@ send_event_handler (Display *dpy,
         {
           guint id;
           id = g_idle_add (callback_idle, state);
-          g_source_set_name_by_id (id, "[gtk+] callback_idle");
+          g_source_set_name_by_id (id, "[gtk] callback_idle");
         }
 
       DeqAsyncHandler(state->dpy, &state->async);
@@ -711,7 +711,7 @@ roundtrip_handler (Display *dpy,
         {
           guint id;
           id = g_idle_add (roundtrip_callback_idle, state);
-          g_source_set_name_by_id (id, "[gtk+] roundtrip_callback_idle");
+          g_source_set_name_by_id (id, "[gtk] roundtrip_callback_idle");
         }
 
       DeqAsyncHandler(state->dpy, &state->async);
index 6e72ba890cf3f4aae968221d4c96387b1235a18c..57fff0c6960f38d4e02e6bcc3bf1cfaa27f0e861 100644 (file)
@@ -1917,7 +1917,7 @@ gdk_x11_drag_drop_done (GdkDrag *drag,
   id = g_timeout_add_full (G_PRIORITY_DEFAULT, 17,
                            gdk_drag_anim_timeout, anim,
                            (GDestroyNotify) gdk_drag_anim_destroy);
-  g_source_set_name_by_id (id, "[gtk+] gdk_drag_anim_timeout");
+  g_source_set_name_by_id (id, "[gtk] gdk_drag_anim_timeout");
 }
 
 static gboolean